clc;
clear;

load('similarity_measure.mat')
Avar = zeros(10, 13);
for position=1:10
    allPos = People(find(People(:,15)==position),1:13);
    Avar(position, :) = mean(allPos,1);
end

D = pdist(Avar); % 计算 pdist()
Z = squareform(D); % 通过函数 squareform() 得到 i j 的对应关系